   /*-----------------------------------------------------------.   
  /                       Description                           /
  '------------------------------------------------------------/

Game:
Author: 
SweetFX version: 1.5/Boulotaur2024 Injector. +Chromatic Aberration Shader.
Description: 

Please note when tweaking settings that higher numbers does not always equal better (nor does lower).
Finding the best settings for your game and your taste is about finding just the right amount to apply.

If you made a good setttings preset please share it with your friends, on forums and websites,
and/or submit it to the SweetFX Settings Database : http://sfx.thelazy.net/games/

This description field and the above Game and Author fields are here so you can fill in your own details for the presets you create.
Just delete this description and fill in your own and then share it with the world.

Hope you enjoy my mod.
 - CeeJay.dk

Game:
Author:
SweetFX version: 1.5.1
Description:

 ڴ ׻  ų (Ǵ ʽϴ)ϹǷ Ҷ ǰʿմϴ.
 ⿡     ãԴϴ.

  ãҴٸ  ð Ʒ Ʈ ֽñ ٶϴ. : http://sfx.thelazy.net/games/

ڰ     ڽ  Է   ֵ Ǿֽϴ.
 Ӱ  ʵ ⿡ ֽϴ.

 ϰ  ڽ ۼϰ     ֽϴ.
 带   ֱ⸦ ٶϴ.
 - CeeJay.dk

ѱ۹ : cooln 082
 

   /*-----------------------------------------------------------.
  /                      Choose effects                         /
  '-----------------------------------------------------------*/

// Set to 1 for ON or 0 for OFF
#define USE_SMAA_ANTIALIASING 1 //[0 or 1] SMAA Ƽ󸮽 뿩
#define USE_FXAA_ANTIALIASING 0 //[0 or 1]  FXAA Ƽ󸮽 뿩
#define USE_CA                0 //[0 or 1]    Ǵ Ƚ̴   ֽϴ  ϳ 
#define USE_EXPLOSION         0 //[0 or 1] ȿ : ̹ 帴ϰ ̰ ȼ ۴ϴ..
#define USE_CARTOON           0 //[0 or 1] ī̹ (ī) 뿩.(SMAA CRT Bloom HDR lumasharpen  մϴ.)
#define USE_LEVELS            0 //[0 or 1] Levels :    Ʈ մϴ   Ŭ ߻մϴ. ̸ Ϸ  մϴ.
#define USE_ADVANCED_CRT      0 //[0 or 1]  CRT ɼ :   TV ÷̸ ùķ̼մϴ.ҷ̼ ȿ   ׿ Բ þȺ 
#define USE_BLOOM             0 //[0 or 1] Bloom : ȿ ( Ƹ)
#define USE_HDR               1 //[0 or 1] HDR() : ̾ƴ ׷ϰ  (ӸƸ)
#define USE_LUMASHARPEN       1 //[0 or 1] LumaSharpen() : Ƽ󸮽ε ذȺκ ٵϴ. - I'm working on fixing that.
#define USE_GAUSSIAN          0 //[0 or 1] Gaussian Blur(þ ) : 帲ȿ ǻ? ȿ ( ̹ þ  )
#define USE_FILMGRAIN         0 //[0 or 1] ʸ׷ ȿ (̹ ʸ׷ ˻)
#define USE_TECHNICOLOR       0 //[0 or 1] TECHNICOLOR :ũϼƼ  μ   ȭ   (Techicolor Process 4)
#define USE_DPX               0 //[0 or 1] Cineon DPX : DXP Cineon ȯȰó ̹ ̰ - ٸ ȭ  ϰ  ()
#define USE_MONOCHROME        0 //[0 or 1]  :  ()
#define USE_LIFTGAMMAGAIN     0 //[0 or 1] Lift Gamma Gain(Ʈ  ׷) :  ׸, ߰   ̶Ʈ   (Ŭ )
#define USE_TONEMAP           1 //[0 or 1] Tonemap() : , ,ä .ǥ     (Ŭ ߻Ҽֽϴ.)
#define USE_VIBRANCE          1 //[0 or 1] Vibrance(̺귱) :   £  (-   ȭ) 伥 ̺귱 ϴ.
#define USE_CURVES            0 //[0 or 1] Curves(Ŀ) : 伥 ƮƮ 
#define USE_SEPIA             0 //[0 or 1] Sepia(Ǿ) : Ǿ  ? http://en.wikipedia.org/wiki/Sepia_tone # Sepia_toning
#define USE_VIGNETTE          0 //[0 or 1] Vignette(Ʈ) : ī޶  Կ  ó  ̰ ϱ ̹ ڸ Ӱ (ٹ  Ͼ  )
#define USE_DITHER            1 //[0 or 1] Dither() : Ͱ ǥ   ִ°ͺ    ùķ̼ϱ ( ϰ Ų? ˻) (Ʈ) ٹ ƼƮ 
#define USE_BORDER            0 //[0 or 1] Border() : Ϻ AA(Ƽ󸮽)  ϴٺ ̵Ǵ ? ذ ȭ鰡ڸ  ó
#define USE_SPLITSCREEN       0 //[0 or 1] Splitscreen(Ȱȭ) : īŻũ    (   )

#define USE_CUSTOM            0 //[0 or 1] Custom : custom.h   ڽ ̴ ۼϰ ⿡    ֽϴ.

   /*-----------------------------------------------------------.
  /                  SMAA Anti-aliasing settings                /
  '-----------------------------------------------------------*/
//SMAA
#define SMAA_THRESHOLD 0.05           //[0.05 to 0.20]  Ӱġ Ϻ ڸ Ϸ õ.  0.08 ̳ 0.12 õ.
#define SMAA_MAX_SEARCH_STEPS 32      //[0 to 98]  ڸ ˻ϰ 
#define SMAA_MAX_SEARCH_STEPS_DIAG 16  //[0 to 16] 밢 ٸ ڸ ˻
#define SMAA_CORNER_ROUNDING 50        //[0 to 100] 𼭸  Ƽ󸮽   0 ⺻ ؽƮ  ĥ  

// -- Advanced SMAA settings --
#define COLOR_EDGE_DETECTION 1        //[0 or 1] 1 ÷ ()  Ȱ (   Ȯմϴ.) - 0 ֵ () ˻  ()
#define SMAA_DIRECTX9_LINEAR_BLEND 0  //[0 or 1] ̷Ʈ9  Ͻʴϱ? (Ʈ   ) ƴ϶ 0 
                                      // ɼ 7000ø 󵥿 X1xxxø ̻ ī带 ϴ 쿡 մϴ.

   /*-----------------------------------------------------------.
  /                  FXAA Anti-aliasing settings                /
  '-----------------------------------------------------------*/
//3 Դ GTX600뿡  FXAA  𼭸 帮 Լ ó
#define FXAA_QUALITY__PRESET 39      //[1 to 39] ǰ   39ְġ
#define fxaa_Subpix 0.400            //[0.000 to 1.000]  ȼ     (ø  )
#define fxaa_EdgeThreshold 0.1    //[0.000 to 1.000]   Ӱġ
#define fxaa_EdgeThresholdMin 0.060  //[0.000 to 1.000] ο Ӱġ  ο κ ˰ 


   /*-----------------------------------------------------------.
  /                       Chromatic aberration                  										/
  '-----------------------------------------------------------*/
#define outfocus  0.016                     //[0.00 to 1.000] 󸶳 Ʈ Ұΰ


   /*-----------------------------------------------------------.
  /                     Explosion settings                      /
  '-----------------------------------------------------------*/
#define Explosion_Radius    1.0     //[0.2 to 100.0]  ϴ ȿ 


   /*-----------------------------------------------------------.
  /                      Cartoon settings                       /
  '-----------------------------------------------------------*/
#define CartoonPower         10.0     //[0.1 to 10.0]  ϴ ȿŭ ־
#define CartoonEdgeSlope     8.0     //[0.1 to 8.0]  ڸ ͸Ϸ ɼ øϴ. 

// ϵ  ֽϴ (0~ڿ) ϴ.


   /*----------------------------------------------------------.
  /                       Levels settings                      /
  '----------------------------------------------------------*/

#define Levels_black_point 16    //[0 to 255] Ʈ   - ̺     ɰԴϴ ⺻ 16.0
#define Levels_white_point 235   //[0 to 255]ȭƮ Ʈ  - ⺻ 235.0

// ̿   ˴ϴ. Ҽ Ŭ(ս) ߻  ֽϴ.



   /*-----------------------------------------------------------.
  /                  Advanced CRT settings                     /
  '----------------------------------------------------------*/
//CRT Ϳ  ɼ ؼ
#define CRTAmount            1.00    //[0.00 to 1.00]  Amount of CRT effect you want

#define CRTResolutionX       512     //[1 to 2048]     Original input width of the game (ie. 320)
#define CRTResolutionY       304     //[1 to 2048]     Original input height of the game (ie. 240)
#define CRTgamma             2.4     //[0.0 to 4.0]    Gamma of simulated CRT (default 2.4)
#define CRTmonitorgamma      2.2     //[0.0 to 4.0]    Gamma of display monitor (typically 2.2 is correct)
#define CRTBrightness        0.9     //[1.0 to 3.0]    Used to boost brightness a little. Default is 1.0
#define CRTScanlineIntensity 2.0     //[2.0 to 4.0]    Scanlines intensity (use integer values preferably). Default is 2.0
#define CRTScanlineGaussian  1       //[0 or 1]        Use the "new nongaussian scanlines bloom effect". Default is on

#define CRTCurvature         1       //[[0 or 1]          "Barrel effect" enabled (1) or off (0)
#define CRTCurvatureRadius   1.5     //[0.0 to 2.0]       Curvature Radius (only effective when Curvature is enabled). Default is 1.5
#define CRTCornerSize        0.0100  //[0.0000 to 0.0020] Higher values, more rounded corner. Default is 0.001
#define CRTDistance          2.00    //[0.00 to 4.00]     Simulated distance from viewer to monitor. Default is 2.00
#define CRTAngleX            0.00    //[-0.20 to 0.20]    Tilt angle in radians (X coordinates)
#define CRTAngleY            -0.15   //[-0.20 to 0.20]    Tilt angle in radians (Y coordinates). (Value of -0.15 gives the 'arcade tilt' look)
#define CRTOverScan          1.01    //[1.00 to 1.10]     Overscan (e.g. 1.02 for 2% overscan). Default is 1.01
#define CRTOversample        0       //[0 or 1]           Enable 3x oversampling of the beam profile (warning : performance hit)


   /*-----------------------------------------------------------.
  /                  Bloom settings                             /
  '-----------------------------------------------------------*/
//ȿ 
#define BloomThreshold 20.25 //[0.00 to 50.00] ø  Ӱ谪
#define BloomPower 1.446     //[0.000 to 8.000] 
#define BloomWidth 0.0142    //[0.0000 to 1.0000] ȿ 



   /*-----------------------------------------------------------.
  /                  HDR settings                               /
  '-----------------------------------------------------------*/
//
#define HDRPower 1.20  //[0.00 to 8.00] ̻ϰ ̹   
#define radius2  0.87  //[0.00 to 8.00] ̰ø ȿ ϰ Ժ

 /*-----------------------------------------------------------.
  /                  LumaSharpen settings                       /
  '-----------------------------------------------------------*/
//ȿ 
// -- Sharpening --
#define sharp_strength 2.0   //[0.10 to 3.00] 
#define sharp_clamp    0.1  //[0.000 to 1.000] ȼ  Ѱġ - ⺻ 0.035

// -- Advanced sharpening settings --
#define pattern 2        //[1|2|3|4]  ϼ. 1 = , 2 = , 3 = , 4 = Ƕ̵ .
#define offset_bias 1.0  //[0.0 to 6.0]  ̾ 1   ʿմϴ.( õ  񽺵ϰ )
                           
// -- Debug sharpening settings --
#define show_sharpen 0   //[0 or 1]  ðȭ 4 ϴ° ߺ (multiplied by 4 to see it better)


   /*-----------------------------------------------------------.
  /                  Gaussian Blur settings                     /
  '-----------------------------------------------------------*/
//þȺ (ϸ ǻ? ȿ)
#define GaussEffect 1        //[0|1|2|3]        0 = Blur(), 1 = Unsharpmask(ũ) (), 2 = Bloom(), 3 = Sketchy(ġ). ⺻ 2
#define GaussQuality 3       //[0|1|2|3]        Ƽ 2 3 ձ  մϴ 1 ⺻
#define GaussSigma 4         //[1 to 4]           ( Ʈ 2() õǾմϴ.)
#define GaussBloomWarmth 1   //[0|1|2]         ȿ µ?- 0 = ڿ, 1 = , 2 =  Ȱ?
#define GaussThreshold 0.50  //[0.00 to 1.00]   [DX10/11 ˴ϴ.] Ӱ谪?
#define GaussExposure 43.0   //[0.00 to 100.00] [DX10/11 ˴ϴ.] ȿ ( ϴ.)
#define GaussStrength 1.0   //[0.00 to 1.00]    ̹ ȥ ȿ 


  /*-----------------------------------------------------------.
  /                  Film grain settings                        /
  '-----------------------------------------------------------*/
//ʸ׷ ȿ
#define FilmGrainIntensity 0.6  //[0.00 to 1.00] ȿ.⺻ 0.46
#define FilmGrainExposure 20     //[0 to 100]     ⵵ ⺻ 40 ( -> darker  ߻)
#define FilmGrainSize 6          //[0 to 10]      ũ. ⺻ 2 ( -> thinner  ߻)


   /*-----------------------------------------------------------.
  /                  TECHNICOLOR settings                       /
  '-----------------------------------------------------------*/
#define TechniAmount 0.4         //[0.00 to 1.00]
#define TechniPower  4.0         //[0.00 to 8.00]
#define redNegativeAmount   0.88 //[0.00 to 1.00]
#define greenNegativeAmount 0.88 //[0.00 to 1.00]
#define blueNegativeAmount  0.88 //[0.00 to 1.00]


   /*-----------------------------------------------------------.
  /                  Cineon DPX settings                        /
  '-----------------------------------------------------------*/
#define Red   9.0  //[1.0 to 15.0]
#define Green 9.0  //[1.0 to 15.0]
#define Blue  9.0  //[1.0 to 15.0]

#define ColorGamma    1.0  //[0.1 to 2.5] ̺귱    . 1.0 ڿϴ..
#define DPXSaturation 1.0  //[0.0 to 8.0] ä մϴ.. 1.0 ڿϴ.

#define RedC   0.33  //[0.60 to 0.20]
#define GreenC 0.36  //[0.60 to 0.20]
#define BlueC  0.35  //[0.60 to 0.20]

#define Blend 0.2    //[0.00 to 1.00] How strong the effect should be.




   /*-----------------------------------------------------------.
  /                  Monochrome settings                        /
  '-----------------------------------------------------------*/
#define Monochrome_conversion_values float3(0.18,0.41,0.41) //[0.00 to 1.00] RGBԺ ( 1.00)


   /*-----------------------------------------------------------.
  /                  Lift Gamma Gain settings                   /
  '-----------------------------------------------------------*/
#define RGB_Lift  float3(1.000, 1.000, 1.000)  //[0.000 to 2.000]    ׸ 
#define RGB_Gamma float3(1.000, 1.000, 1.000)  //[0.000 to 2.000]    ߰  
#define RGB_Gain  float3(1.000, 1.000, 1.000)  //[0.000 to 2.000]    ̶Ʈ 


   /*-----------------------------------------------------------.
  /                  Tonemap settings                           /
  '-----------------------------------------------------------*/
// 
#define Gamma 0.8                         //[0.000 to 2.000] ߰  
#define Exposure 0.0                    //[-1.000 to 1.000]  
#define Saturation 0.4                   //[-1.000 to 1.000] ä 
#define Bleach 0.00                       //[0.000 to 1.000] ׸ڸ ϰ  ̵(fade)
#define Defog 0.00                       //[0.000 to 1.000] 󸶳  ϳ
#define FogColor float3(0.10, 0.05, 0.0) //[0.00 to 2.55, 0.00 to 2.55, 0.00 to 2.55]   ⺻ 


  
   /*-----------------------------------------------------------.
  /                  Vibrance settings                          /
  '-----------------------------------------------------------*/
//̺귱 ׷ī ִ̹  ̺귱!
#define Vibrance 0.0 //[-1.00 to 1.00] - Ұ ä ϴ.
#define Vibrance_RGB_balance float3(1.00, 1.00, 1.00) //[-10.00 to 10.00,-10.00 to 10.00,-10.00 to 10.00] ̺귡̼ RGB  Ư       ִ.


   /*-----------------------------------------------------------.
  /                  Curves settings                            /
  '-----------------------------------------------------------*/
//Ŀ꼳
#define Curves_mode 0        //[0|1|2]  0 = Luma 1 = Chroma ä, 2 =  Ѵ. ⺻ 0 (Luma)
#define Curves_contrast 0.3 //[-1.00 to 1.00] ϴ   Է

// -- Advanced curve settings --
#define Curves_formula 2     //[1|2|3|4|5|6|7|8|9]  ϰϴ SĿ (Ʒɼ Դϴ)
                             //1 = Sine, 2 = Abs split, 3 = Smoothstep, 4 = Exp formula, 5 = Simplified Catmull-Rom (0,0,1,1), 6 = Perlins Smootherstep
                             //7 = Abs add, 8 = Techicolor Cinestyle, 9 = Parabola.10 = Half-circles.
                             //ũ Cinestyle     մϴ ݿø ΰ ϴ.
                             // 2 ȣ 3  ȿ  Դϴ (ٸ ̶Ʈ ׸ڰ Ĩϴ.)   Դϴ.


   /*-----------------------------------------------------------.
  /                  Sepia settings                             /
  '-----------------------------------------------------------*/
//ǾƼ
#define ColorTone float3(1.0, 1.10, 1.0) //[0.00 to 2.55, 0.00 to 2.55, 0.00 to 2.55]  Ұΰ RGB
#define GreyPower  0.11                    //[0.00 to 1.00] 󸶳 ä 
#define SepiaPower 0.58                    //[0.00 to 1.00] 󸶳 


   /*-----------------------------------------------------------.
  /                  Vignette settings                          /
  '-----------------------------------------------------------*/
//Ʈȿ 
#define VignetteRatio 1.00    //[0.15 to 6.00]    . 1.00 (1/1) 1:1  1.60(16/10) 60 %  ߻
#define VignetteRadius 1.00   //[-1.00 to 3.00]  =   ȿ
#define VignetteAmount -0.40  //[-2.00 to 1.00]  . -2.00 =  , 1.00 =  ȭƮ.
#define VignetteSlope 6       //[1 to 16] 󸶳 ߽ɿ ָ°  (Ȧ  ¦ FPS϶ ũ)
#define VignetteCenter float2(0.500, 0.500)  //[0.000 to 1.000, 0.000 to 1.000] ȿ ߽ ǥ X,y



   /*-----------------------------------------------------------.
  /                  Dither settings                            /
  '-----------------------------------------------------------*/
//ȿ
#define dither_method 2  //[1 or 2] 1 = ֹ ( ϴ.), 2 =   (   ӵ  ϴ)

// ϴ    ֽϴ.
// ũ  ȭ 뷮 þϴ.


   /*-----------------------------------------------------------.
  /                  Border settings                            /
  '-----------------------------------------------------------*/
#define border_width float2(1,100)     //[0 to 2048, 0 to 2048] - (X,Y)  ʼ 
#define border_color float3(0, 0, 0)  //[0 to 255, 0 to 255, 0 to 255]    255,255,255  0,0,0 

   /*-----------------------------------------------------------.
  /                  Splitscreen settings                       /
  '-----------------------------------------------------------*/
//øƮũ  ccc  UVD  
#define splitscreen_mode 1  //[1|2|3|4|5]  1 = ݹ, 2 = 25/50/25, 3 = 50/50 , 4 =  50/50 , 5 =  25/50/25 
                            //6 =ŷ?  ݹ 50/50

   /*-----------------------------------------------------------.
  /                  Key settings                               /
  '-----------------------------------------------------------*/
// Ű Ҽ ֽϴ.
// Ű Ű ڵ  Ϸ Ʒ Ʈ Ͻʽÿ
// http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes

// key_toggle_sweetfx = 145 //scroll lock
// key_screenshot     = 44 //print screen
// key_reload_sweetfx = 19//pause/break




   /*-----------------------------------------------------------.
  /                  Misc settings                              /
  '-----------------------------------------------------------*/
//ΰ  Ī ٲų ٸ Ҷ մϴ. (Ϲ )
// You can load and chain other DirectX wrappers (ENB, Helix, Windower...)
// If the external wrapper is already named d3d9.dll, rename it into
// something else like "d3d9_enb.dll" (note that even if this is commented it actually works)

// external_d3d9_wrapper = none
// external_dxgi_wrapper = none